package io.renren.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import io.renren.dao.QuerypersonnelcommutertimeDao;
import io.renren.entity.Querypersonnelcommutertime;
import io.renren.entity.SearchCross;
import io.renren.service.QuerypersonnelcommutertimeService;



@Service("querypersonnelcommutertimeService")
public class QuerypersonnelcommutertimeServiceImpl implements QuerypersonnelcommutertimeService {
	@Autowired
	private QuerypersonnelcommutertimeDao querypersonnelcommutertimeDao;
	
	@Override
	public Querypersonnelcommutertime queryObject(String namePersonnel){
		return querypersonnelcommutertimeDao.queryObject(namePersonnel);
	}
	
	@Override
	public List<Querypersonnelcommutertime> queryList(Map<String, Object> map){
		return querypersonnelcommutertimeDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return querypersonnelcommutertimeDao.queryTotal(map);
	}
	
	@Override
	public void save(Querypersonnelcommutertime querypersonnelcommutertime){
		querypersonnelcommutertimeDao.save(querypersonnelcommutertime);
	}
	
	@Override
	public void update(Querypersonnelcommutertime querypersonnelcommutertime){
		querypersonnelcommutertimeDao.update(querypersonnelcommutertime);
	}
	
	@Override
	public void delete(String namePersonnel){
		querypersonnelcommutertimeDao.delete(namePersonnel);
	}
	
	@Override
	public void deleteBatch(String[] namePersonnels){
		querypersonnelcommutertimeDao.deleteBatch(namePersonnels);
	}

	@Override
	public List<Querypersonnelcommutertime> queryLists(Map<String, Object> map) {
		// TODO Auto-generated method stub
		return querypersonnelcommutertimeDao.queryLists(map);
	}
	
}
